package com.ruoyi.psi.base.warehouse.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 查询条件
 */
@Data
public class WarehouseCond extends BaseEntity {
    /**
     * 仓库编号
     */
    @NotNull(message = "仓库编号不能为空")
    @ApiModelProperty(value = "仓库编号", required = true)
    @Excel(name = "仓库编号")
    private String warehouseId;

    /**
     * 仓库名称
     */
    @ApiModelProperty("仓库名称")
    @Excel(name = "仓库名称")
    private String warehouseName;

    /**
     * 仓库地址
     */
    @ApiModelProperty("仓库地址")
    @Excel(name = "仓库地址")
    private String warehouseAddress;

    /**
     * 负责人编号
     */
    @ApiModelProperty("负责人编号")
    @Excel(name = "负责人编号")
    private String staffId;

    /**
     * 产品编号
     */
    @NotNull(message = "产品编号不能为空")
    @ApiModelProperty(value = "产品编号", required = true)
    private String produceId;
}
